// 定义本模块 pc端路由
const routes = [
  {
    path: '/demo',
    redirect: '/demo/index',
    component: () => import('@/components/layout/pc.vue'),
    children: [
      // 演示 vue3 如何创建和使用响应式变量(类似于vue2的data变量)
      {
        path: '/demo/index',
        component: () => import('@/views/demo/pc/index.vue'),
        meta: {
          title: 'pc首页'
        }
      }
    ]
  }
]

export default routes
